package com.imooc.mapper;

import com.imooc.pojo.Users;
import com.imooc.pojo.vo.VideosVo;
import com.imooc.utils.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface UsersMapper extends MyMapper<Users> {

    Boolean addFansCounts(@Param("userId") String userId);
    Boolean reduceFansCounts(@Param("userId") String userId);
}